package com.scheduler.backend.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor

@Entity
@Table(name = "item")
public class Item {

    @Id
    @Column(name = "item_id")
    private String itemId;

    @Column(name = "item_description")
    private String itemDescription;

    @Column(name = "item_type")
    private String itemType;

    @Column(name = "preparation_way")
    private String preparationWay;

    @Column(name = "unit")
    private String unit;

    @Column(name = "deleted")
    private Integer deleted = 0;
}
